package pri.black.garden.biz;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Date;
import pri.black.garden.domain.VegetablesInstanceLogPictures;
import pri.black.garden.service.IVegetablesInstanceLogPicturesService;

/**
 * gardenBiz业务层处理
 * 
 * @author black
 * @date 2025-01-21
 */
@Service
public class VegetablesInstanceLogPicturesBiz
{
    @Autowired
    private IVegetablesInstanceLogPicturesService vegetablesInstanceLogPicturesService;

    public IVegetablesInstanceLogPicturesService getService(){
        return vegetablesInstanceLogPicturesService;
    }

    /**
     * 新增VegetablesInstanceLogPictures
     */
    public boolean save(VegetablesInstanceLogPictures vegetablesInstanceLogPictures){
        return vegetablesInstanceLogPicturesService.save(vegetablesInstanceLogPictures);//看情况提取至controller中
    }

    /**
     * 更新VegetablesInstanceLogPictures
     */
    public boolean update(VegetablesInstanceLogPictures vegetablesInstanceLogPictures){
        return vegetablesInstanceLogPicturesService.updateById(vegetablesInstanceLogPictures);
    }
}
